<!-- Contenido -->
  <div id="container" class="box">
    <div id="obsah" class="content box">
      <div class="in">
        <h2><?=$titulo_pagina?></h2>
         <div id="form" class="clearfix">
          
           <?php echo form_open_multipart('agregausuarios/'); ?>
		   
            <?php echo form_label('Formulario de Inscripci&oacute;n')."\n"; ?>

			<?php echo form_label('Fecha de Alta'); ?>         
            <?php echo form_label(date("d/m/Y H:i")); ?>
        	
			<?php echo form_label('Curso')."\n"; ?>                       
            <?php echo form_dropdown('idcurso',$cursos, $this->validation->idcurso, 'class="text" id="curso"'); ?>
			<?php echo $this->validation->idcurso_error; ?>
			
            <?php echo form_label('Nombre')."\n"; ?>                       
            <?php echo form_input(array('name'=>'nombre','value'=>$this->validation->nombre,'class'=>'text')); ?><?php echo $this->validation->nombre_error; ?>
			
			<?php echo form_label('Apellido')."\n"; ?>                       
            <?php echo form_input(array('name'=>'apellido','value'=>$this->validation->apellido,'class'=>'text')); ?><?php echo $this->validation->apellido_error; ?>
			
			<?php echo form_label('Especialidad')."\n"; ?>                       
            <?php echo form_input(array('name'=>'especialidad','value'=>$this->validation->especialidad, 'class'=>'text', 'id'=>'especialidad','autocomplete'=>"off")); ?>
			<?php echo $this->validation->especialidad_error; ?>
			
			<?php echo form_label('Tipo Matr&iacute;cula')."\n"; ?>            
         	<?php echo form_dropdown('idtipomatricula', $tipomatricula); ?><?php echo $this->validation->idtipomatricula_error; ?>
         	
			<?php echo form_label('Matr&iacute;cula')."\n"; ?>             
    		<?php echo form_input(array('name'=>'matricula','value'=>$this->validation->matricula, 'class'=>'text')); ?><?php echo $this->validation->matricula_error; ?>
			
			<?php echo form_label('E-Mail')."\n"; ?>
            <?php echo form_input(array('name'=>'email','value'=>$this->validation->email, 'class'=>'text')); ?>
            <?php echo $this->validation->email_error; ?>
           
			<?php echo form_label('DNI')."\n"; ?> 
			<?php echo form_input(array('name'=>'dni','value'=>$this->validation->dni, 'class'=>'text')); ?><?php echo $this->validation->dni_error; ?>

			<?php echo form_label('Instituci&oacute;n u Hospital')."\n"; ?>                       
            <?php echo form_input(array('name'=>'institucion','value'=>$this->validation->institucion, 'class'=>'text')); ?><?php echo $this->validation->institucion_error; ?>
    
			<?php echo form_label('Dir. Consultorio')."\n"; ?>                       
            <?php echo form_input(array('name'=>'consultorio','value'=>$this->validation->consultorio, 'class'=>'text')); ?><?php echo $this->validation->consultorio_error; ?>
         
			<?php echo form_label('Fecha Nac.')."\n"; ?>                         
		    <?php echo form_input(array('name'=>'fechaNac', 'value'=>$this->validation->fechaNac, 'class' =>'datepicker','autocomplete'=>"off")); ?><?php echo $this->validation->fechaNac_error; ?>
        	
			<?php echo form_label('Provincia')."\n"; ?>                       
            <?php echo form_dropdown('idprovincia',$provincias, $this->validation->idprovincia, 'class="text" id="provincia"'); ?>
            <?php echo $this->validation->idprovincia_error; ?>
			
			<?php echo form_label('Ciudad')."\n"; ?>                       
            <?php echo form_input(array('name'=>'ciudad','value'=>$this->validation->ciudad, 'class'=>'text', 'id'=>'ciudad','autocomplete'=>"off")); ?>
            <?php echo $this->validation->ciudad_error; ?>
		
 			<?php echo form_label('Telefono')."\n"; ?>
            <?php echo form_input(array('name'=>'telefono','value'=>$this->validation->telefono, 'class'=>'text')); ?>
            <?php echo $this->validation->telefono_error; ?>
           
		   	<?php echo form_label('Representante')."\n"; ?>
            <?php echo form_input(array('name'=>'representante','value'=>$this->validation->representante, 'class'=>'text')); ?>
            <?php echo $this->validation->representante_error; ?>
			
			<?php echo form_label('Deporte')."\n"; ?>                       
            <?php echo form_input(array('name'=>'deporte','value'=>$this->validation->deporte, 'class'=>'text')); ?>
            <?php echo $this->validation->deporte_error; ?>
            
			<?php echo form_label('Hobby')."\n"; ?>                       
            <?php echo form_input(array('name'=>'hobby','value'=>$this->validation->hobby, 'class'=>'text')); ?><?php echo $this->validation->hobby_error; ?>
			
          	<?php echo form_submit(array('name'=>'Crear', 'value'=>'Agregar','class'=>'boton')); ?>
			
			<?php echo form_close()."\n";?>
             </div>
      </div>
    </div>

  </div>
<!-- Contenido -->
